<?php
class forums extends Controller{
	
	var $models = array('Categorie');

	function index(){
		$d = array();
		$d['categories'] = $this->Categorie->find(array(
				'order' => 'libelle'
		));
		if ($this->Session->isLogged()){
			$this->layout = 'user';
		}
		$this->set($d);
		$this->render('index');
	}
}